package com.itheima.config;

import org.springframework.stereotype.Component;

@Component
//TODO 加上对应的注解
public class AppConfig {
    private String logLevel;
    private boolean featureEnabled;

    // Getter 和 Setter 方法
    public String getLogLevel() {
        return logLevel;
    }

    public void setLogLevel(String logLevel) {
        this.logLevel = logLevel;
    }

    public boolean isFeatureEnabled() {
        return featureEnabled;
    }

    public void setFeatureEnabled(boolean featureEnabled) {
        this.featureEnabled = featureEnabled;
    }
}